import api from '../index';
import urls from './urls';

const header = {};

export default {
    getMenus(id) {
        // return出去了一个promise
        return api.get(urls.menu + '/' + id, null, null);
    }
};